import React, { Component } from 'react'
import { observer, inject } from 'mobx-react'
import {
  View,
  Text,
  Button,
} from 'react-native'

@inject('test1Store')
@observer
export default class test3 extends Component {

  render() {
    console.log('test3 render')
    return (
      <View style={{ justifyContent: 'center', alignItems: 'center', marginTop: 20, }}>
        <Text style={{ marginBottom: 15, fontSize: 16, }}>{this.props.test1Store.count/2}</Text>
      </View>
    )
  }
}